
const state = {
    datingObj:{},
    detailObj:[],
    maintainBy:'',
    sumbitStatus:false,
    activeTabInfo:'',
    shareList:{},
    processObj:{},
    calendarDeviceId:"",
    faultTabTitle:'维修申请',
    copyStatus:'',
}

const mutations = {
    SET_COPYSTATUS: (state, val) => {
        state.copyStatus = val
    },
    SET_PROCESS: (state, obj) => {
        state.processObj = obj
    },
    SET_CALEND: (state, str) => {
        state.calendarDeviceId = str
    },
    SET_DATING: (state, list) => {
        state.datingObj = list
    },
    SET_ACTIVETAB: (state, str) => {
        state.activeTabInfo = str
    },
    SET_DETAILOBJ: (state, _arr) => {
        state.detailObj = [..._arr]
    },
    SET_MAINBY: (state, str) => {
        state.maintainBy = str
    },
    SET_SUMBITSTATUS: (state, flag) => {
        state.sumbitStatus = flag
    },
    SET_SHARELIST: (state, obj) => {
        state.shareList = obj
    },
    SET_TABTITLE: (state, str) => {
        state.faultTabTitle = str
    },
}
const actions = {

}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}
